package cn.youqu.happy.module.youqu.controller.admin.userComment.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.youqu.happy.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 用户回复 Excel 导出 Request VO", description = "参数和 UserCommentPageReqVO 是一致的")
@Data
public class UserCommentExportReqVO {

    @ApiModelProperty(value = "用户id")
    private Long uid;

    @ApiModelProperty(value = "友说id")
    private Integer tellId;

    @ApiModelProperty(value = "回复用户id")
    private Long replyId;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "父级id")
    private Integer pid;

    @ApiModelProperty(value = "回复内容")
    private String comment;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "开始创建时间")
    private Date beginCreateTime;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "结束创建时间")
    private Date endCreateTime;

    @ApiModelProperty(value = "备注")
    private String remark;

}
